<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo  Q::ini('appini/app_title')." ". Q::ini('appini/version');?></title>
<link href="css/default.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/icon.css"/>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/jquery-easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="js/Default.js" type="text/javascript"></script>
</head>
<body class="easyui-layout" style="overflow-y: hidden" scroll="no">
	<!--
    <noscript>
		<div style="position: absolute; z-index: 100000; height: 2046px; top: 0px; left: 0px;width: 100%; background: white; text-align: center;">
            <img src="images/noscript.gif" alt='抱歉，请开启脚本支持!' />
        </div>
	</noscript>
    -->
    <div region="north" split="true" style="overflow: hidden; height: 97px; background: #D2E0F2 repeat-x center 50%;line-height: 20px; color: #fff;">
    <div id="header">
		<div id="top"></div>
		<div id="banner" align="left" style="float:right;">
			<div id="logo" style="float:left;"><img src="images/logo.jpg" ></div>	
            <div id="bannercontent" style="float:right;margin-right:4px;">
            	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
            		<tr>               
              			<td width="210">
                        <div style="width:200px;height:59px; background:url(images/userinfo.jpg);">
                          <li style="color:#305991;list-style:none;padding-top:10px;padding-left:60px;">用&nbsp;&nbsp;名: <?=$user['name']?></li>
                          <li style="color:#305991;list-style:none;padding-top:5px;padding-left:60px;">角&nbsp;&nbsp;色: <?=$user['roles']?></li> 
                          </div>
                        </td>
              			<td width="100"><a href="index.php"><img src="images/home.jpg" width="87" height="59"></a></td>
              			<td width="65"><a href="<?=url("user/logout")?>"><img src="images/logout.jpg" width="64" height="59"></a></td>
              		</tr>
          		</table>
            </div>
		</div>
	</div>  
    </div>
    <div region="south" style="height: 32px; background: #FFF;overflow:hidden; margin:0;" scroll="no">
        <div id="footer" align="left" style="padding-top:4px;">
	  		<table width="100%"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="192" align="center"><img src="images/icon_welcom.jpg" width="96" height="19" align="absmiddle"></td>
                  <td width="110">&nbsp;</td>
                  <td width="115">&nbsp;</td>
                  <td align="right" class="blue"><img src="images/icon_arrow_left.jpg" /> Power by Jack :: 版本 <?=date("Y")?> <?php echo  Q::ini('appini/version');?>&nbsp;&nbsp;&nbsp;</td>
                </tr>
          </table>
		</div>  
    </div>
    <div region="west" split="true" title="导航菜单" style="width: 180px;overflow:hidden;" iconCls="icon-home">
        <div id="menu" class="easyui-accordion" fit="true" border="false">
            <div title="系统管理" style="overflow:auto; padding: 10px;" iconCls="icon-edit">
                <div title="系统管理">
                    <ul>
                        <li>
                            <div><a target="mainFrame" href="<?=url('system/config')?>">系统设置</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('user/index')?>">用户管理</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('user/updatepass')?>">更改密码</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('user/permission')?>">权限管理</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('user/logout')?>">退出系统</a></div>
                        </li>                                          
                    </ul>
                </div>
            </div>
           
            
            <div title="基础信息" style="padding: 10px;" iconCls="icon-edit">
                <div title="基础信息">
                    <ul>
                        <li>
                        	<div><a target="mainFrame" href="<?=url("category/index")?>">商品类别管理</a></div>
                        </li>
                        <li>
                        	<div><a target="mainFrame" href="<?=url("brand/index")?>">商品品牌管理</a></div>
                        </li>
                        <li>
                        	<div><a target="mainFrame" href="<?=url("unit/index")?>">商品单位管理</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('product/index')?>">商品信息管理</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('customer/index')?>">客户信息管理</a></div>
                        </li>
                       
                        <li>
                            <div><a target="mainFrame" href="<?=url('supplier/index')?>">供应商信息管理</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('customer/index')?>">客户信息查询</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('product/index')?>">商品信息查询</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('supplier/index')?>">供应商信息查询</a></div>
                        </li>                       
                    </ul>
                </div>
            </div>
            
            <div title="采购信息" style="padding: 10px;" iconCls="icon-edit">
                <div title="采购信息">
                    <ul>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">商品采购</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">采购查询</a></div>
                        </li>                                     
                    </ul>
                </div>
            </div>
            
            <div title="往来管理" style="padding: 10px;" iconCls="icon-edit">
                <div title="往来管理">
                    <ul>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">商品销售结账</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">入库退货结账</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">销售结账查询</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">商品入库结账</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">销售退货结账</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">入库结账查询</a></div>
                        </li>                       
                    </ul>
                </div>
            </div>
            
            <div title="商品销售" style="padding: 10px;" iconCls="icon-edit">
                <div title="商品销售">
                    <ul>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">商品销售</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">商品销售退货</a></div>
                        </li>                                        
                    </ul>
                </div>
            </div>
            
            <div title="库存管理" style="padding: 10px;" iconCls="icon-edit">
                <div title="库存管理">
                    <ul>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">商品入库</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">商品入库退货</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">库存查询</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">价格调整</a></div>
                        </li>              
                    </ul>
                </div>
            </div>
            
            <div title="统计查询" style="padding: 10px;" iconCls="icon-edit">
                <div title="统计查询">
                    <ul>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">销售信息查询</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">销售退货查询</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">商品入库查询</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">入库退货查询</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">商品销售排行</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="Product/Default.htm">年销售额分析</a></div>
                        </li>                       
                    </ul>
                </div>
            </div>
            
            
            <div title="系统设置" style="padding: 10px;" iconCls="icon-edit">
                <div title="系统设置">
                    
                </div>
            </div>
            
            <div title="关于&帮助" iconCls="icon-help">
               <div title="关于&帮助">
                    <ul>
                        <li>
                            <div><a target="mainFrame" href="<?=url('content/help')?>">帮助</a></div>
                        </li>
                        <li>
                            <div><a target="mainFrame" href="<?=url('content/about')?>">关于</a></div>
                        </li>
                                                            
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div region="center" id="mainPanle" style="background: #eee;overflow:hidden;">
        <div id="tabs" class="easyui-tabs" fit="true" border="false">
            <div title="主页" style="padding: 0px;" id="home"  >
                <div style="height:100%;background-image:url(images/wel_bg.jpg); background-repeat: repeat-x; vertical-align:central;" align="center">
                <img src="images/wel.jpg" />
                </div>
            </div>
        </div>
    </div>
</body>
</html>
